package com.glory.brepda.activity.mfg;

import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.glory.brepda.R;
import com.glory.brepda.base.BaseActivity;
import com.glory.brepda.entity.BomInfoEntity;

import butterknife.BindView;

public class ParaInfoCheckActivity extends BaseActivity {
    @BindView(R.id.llMain)
    LinearLayout llMain;
    @BindView(R.id.tvParaGroup)
    TextView tvParaGroup;
    @BindView(R.id.tvParaName)
    TextView tvParaName;
    @BindView(R.id.tvParaValue)
    TextView tvParaValue;
    @BindView(R.id.tvMaxValue)
    TextView tvMaxValue;
    @BindView(R.id.tvMinValue)
    TextView tvMinValue;

    private BomInfoEntity.RECIPEPARALISTResultBean result;


    @Override
    protected int getLayoutResId() {
        return R.layout.activity_para_info_check;
    }



    @Override
    protected void initView() {
        Bundle bundle = getIntent().getExtras();
        result = (BomInfoEntity.RECIPEPARALISTResultBean)bundle.getSerializable("PARAINFO");
        setMainLayout(llMain);

        tvParaGroup.setText(result.getPARAM_GROUP());
        tvParaName.setText(result.getPARAM_NAME());
        tvParaValue.setText(result.getPARAM_VALUE());
        tvMaxValue.setText(result.getMAX_VALUE());
        tvMinValue.setText(result.getMIN_VALUE());
    }

    @Override
    protected void initData() {

    }




}
